<script setup>
import { useRouter } from 'vue-router';
const router = useRouter()
const toHome = () => {
  router.push({ path: '/note' })
}
</script>
<template>
  <div class="book">
    <div class="name">记事本</div>
    <el-button type="primary" text style="font-size: 20px;" @click="toHome">
      点击进入
    </el-button>
  </div>
</template>

<style scoped>
.book {
  font-size: 50px;
  text-align: center;
  margin: 300px auto;
}
</style>
